package com.yunxi.service.localService.app.impl;


import com.yunxi.app.pojo.VersionVO;
import com.yunxi.core.service.ServiceImplPlus;
import com.yunxi.dao.app.VersionMapper;
import com.yunxi.model.app.Version;
import com.yunxi.service.localService.app.VersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @version <1.0>
 * @Company <JINAN IAN SOFTWARE Co.,LTD.>
 * @Project <IAN Collaboration Suite>
 * @Author <zhangk>
 * @Date 2016/3/22
 * @description 应用商店 业务类
 */
@Service
public class VersionServiceImpl extends ServiceImplPlus<VersionMapper,Version> implements VersionService {

    @Autowired
    private VersionMapper versionMapper;


    /**
     * 获取最新版本
     * @param type
     * @param platform
     */
    @Override
    public VersionVO getNewVersion(Integer type, String platform) {
        return versionMapper.getNewVersion(type, platform);
    }


}
